import Vuex from "vuex";
import Vue from "vue";
import category from "@/store/modules/category";
import banner from "@/store/modules/banner";
import floor from "@/store/modules/floor";
import search from "@/store/modules/search";
import details from "@/store/modules/details";
import user from "@/store/modules/user";

Vue.use(Vuex);

export default new Vuex.Store({
    modules: {
        category, // 三级列表
        banner, // 轮播图
        floor, // 楼层轮播
        search, // 搜索商品
        details, // 商品详情
        user, // 用户信息
    },
});
